Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Articles.php
Line Number: 118
Backtrace:
File: /home/gilangco/public_html/application/modules/articles/controllers/Articles.php
Line: 118
Function: _error_handler
File: /home/gilangco/public_html/application/modules/articles/controllers/Articles.php
Line: 32
Function: get_articles
File: /home/gilangco/public_html/index.php
Line: 326
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/gilangco/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 569
Backtrace:
File: /home/gilangco/public_html/application/models/Object_model.php
Line: 43
Function: query
File: /home/gilangco/public_html/application/modules/articles/controllers/Articles.php
Line: 123
Function: get_data
File: /home/gilangco/public_html/application/modules/articles/controllers/Articles.php
Line: 32
Function: get_articles
File: /home/gilangco/public_html/index.php
Line: 326
Function: require_once
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10' at line 25
SELECT article_id , article_title , article_content , article_by , article_img_thumbnail , article_img_banner , DATE_FORMAT(article_created_date, '%d %M %Y') AS a_article_created_date , category , id_category FROM tbl_article a LEFT JOIN ( SELECT acd_article , GROUP_CONCAT(category_name SEPARATOR ',') AS category , GROUP_CONCAT(acd_category SEPARATOR ',') AS id_category FROM tbl_article_category_detail a LEFT JOIN tbl_category b ON a.acd_category = b.category_id GROUP BY acd_article ) AS b ON a.article_id = b.acd_article WHERE article_status = 1 AND a.article_id IN ( SELECT acd_article FROM tbl_article_category_detail WHERE acd_category = 9 ) ORDER BY article_created_date DESC LIMIT 10 OFFSET -10
Filename: models/Object_model.php
Line Number: 43